<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/view/include/inc.jsp"%>
<!DOCTYPE html >
<html>
<head>
<%@ include file="/WEB-INF/view/include/jQgrid.jsp"%>
</head>
<body style="background-color: white;" class="gray-bg">
	<div class="ibox-content form-horizontal " id="formid">
		
	</div>


	<script>
	$(function(){
		$.ajax({
			url:"<%=contextPath%>/industry/getJson",
			type:"post",
			dataType:"json",
			success:function(result){
				var list = result.datas;
				var html="";
				for (var i = 0; i < list.length; i++) {
					if(list[i].parentId ==0){
						html+='<div class="form-group"><label class="col-sm-3 control-label">'+list[i].name+'：</label>';
						html+='<div class="col-sm-8">';
						html+='<div class="radio"><label><input type="radio" name="optionsRadios"  value="option1" checked></label></div>';
						html+='</div></div>';
					}
				}
					
				$("#formid").html(html);
			}
		});
		});
	</script>
</body>
</html>